﻿@page "/authentication/{action}"
@using global::Localization.Resources.AbpUi
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
@using Volo.Abp.AspNetCore.Components
@using Abp.AspNetCore.Components.WebAssembly.BootstrapTheme.Components
@using Microsoft.Extensions.Localization
@using Abp.BootstrapTheme.Management.Localization 
 
@inherits AbpComponentBase

<Card>
    <CardBody>
        <RemoteAuthenticatorView Action="@Action">
            <LoggingIn>
                <LoadingIndicator/>
            </LoggingIn>
            <CompletingLoggingIn>
                <LoadingIndicator/>
            </CompletingLoggingIn>
            <LogOut>
                <LoadingIndicator/>
            </LogOut>
            <CompletingLogOut>
                <LoadingIndicator/>
            </CompletingLogOut>
            <LogOutSucceeded>
                 @L["Authentication:YouAreLoggedOut"]
            </LogOutSucceeded>
        </RemoteAuthenticatorView>
    </CardBody>
</Card>
